package eSn.Core;

import java.util.Random;

/***
 * 数字处理类
 * @author Administrator
 *
 */
public class Num {
	
	public static final byte toByte(long value){
		return Byte.valueOf( String.valueOf(value));
	}
	public static final byte toByte(int value){
		return Byte.valueOf( String.valueOf(value));
	}
	
	public static final Double Rnd(){
		return Math.random();
	}
}
